import 'package:json_annotation/json_annotation.dart'; 
  
part 'add_dynamic_model.g.dart';

// 发表社区文章
@JsonSerializable()
  class AddDynamicModel extends Object {

  @JsonKey(name: 'code')
  int code;

  @JsonKey(name: 'message')
  String message;

  AddDynamicModel(this.code,this.message,);

  factory AddDynamicModel.fromJson(Map<String, dynamic> srcJson) => _$AddDynamicModelFromJson(srcJson);

  Map<String, dynamic> toJson() => _$AddDynamicModelToJson(this);

}

  
